package org.cagt.standard;

/**
 * Figures of common cards.
 * 
 * @author konrad.szalkowski (at) gmail.com
 * 
 */
public enum Figure {
	Joker, Ace, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten, Jack, Queen, King;

	/**
	 * Translates the figures to integers.
	 * 
	 * @return Figure integer counterpart, Joker for 0, Ace for 1, Jack, Queen,
	 *         King for 11,12,13.
	 */
	public int toInt() {
		return this.ordinal();
	}
}
